package com.ruoyi.system.service.impl;

import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.ruoyi.system.mapper.SysChamberInfoMapper;
import com.ruoyi.system.domain.SysChamberInfo;
import com.ruoyi.system.service.ISysChamberInfoService;

/**
 * 商会概况Service业务层处理
 * 
 * @author ruoyi
 * @date 2025-06-27
 */
@Service
public class SysChamberInfoServiceImpl implements ISysChamberInfoService 
{
    @Autowired
    private SysChamberInfoMapper sysChamberInfoMapper;

    /**
     * 查询商会概况
     * 
     * @param id 商会概况主键
     * @return 商会概况
     */
    @Override
    public SysChamberInfo selectSysChamberInfoById(Long id)
    {
        return sysChamberInfoMapper.selectSysChamberInfoById(id);
    }

    /**
     * 查询商会概况列表
     * 
     * @param sysChamberInfo 商会概况
     * @return 商会概况
     */
    @Override
    public List<SysChamberInfo> selectSysChamberInfoList(SysChamberInfo sysChamberInfo)
    {
        return sysChamberInfoMapper.selectSysChamberInfoList(sysChamberInfo);
    }

    /**
     * 新增商会概况
     * 
     * @param sysChamberInfo 商会概况
     * @return 结果
     */
    @Override
    public int insertSysChamberInfo(SysChamberInfo sysChamberInfo)
    {
        return sysChamberInfoMapper.insertSysChamberInfo(sysChamberInfo);
    }

    /**
     * 修改商会概况
     * 
     * @param sysChamberInfo 商会概况
     * @return 结果
     */
    @Override
    public int updateSysChamberInfo(SysChamberInfo sysChamberInfo)
    {
        return sysChamberInfoMapper.updateSysChamberInfo(sysChamberInfo);
    }

    /**
     * 批量删除商会概况
     * 
     * @param ids 需要删除的商会概况主键
     * @return 结果
     */
    @Override
    public int deleteSysChamberInfoByIds(Long[] ids)
    {
        return sysChamberInfoMapper.deleteSysChamberInfoByIds(ids);
    }

    /**
     * 删除商会概况信息
     * 
     * @param id 商会概况主键
     * @return 结果
     */
    @Override
    public int deleteSysChamberInfoById(Long id)
    {
        return sysChamberInfoMapper.deleteSysChamberInfoById(id);
    }
}
